﻿using MediatR;
using ShineTech.Web.Kanbans;
using System;
using System.Collections.Generic;
namespace ShineTech.Web.Kanbans.Commands
{
    public class KanbansByFiltersQuery : IRequest<IEnumerable<KanbanDTO>>
    {
        public string Name { get; set; }
        public List<Guid> KanbanIds { get; set; }
        public Guid? UserId { get; set; }
        public KanbansByFiltersQuery(string name, Guid userId, List<Guid> kanbanIds)
        {
            Name = name ?? string.Empty;
            KanbanIds = kanbanIds;
            UserId = userId;

        }
    }
}
